package com.wantyx.bean.database;

import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.sql.Connection;

//@Data：这个注解重写了hashcode方法
@Getter
@Setter
@ToString
public abstract class IDataBase {
    private String userName;
    private String password;
    Connection getConnection() {
        return null;
    }
}
